package com.wuba.rxjavademo.tzx.common;

import rx.Subscriber;

/**
 * Created by tanzhenxing
 * Date: 2016/6/24.
 * Description:
 */
public class SimpleSubscriber<T> extends Subscriber<T> {
    @Override
    public void onCompleted() {
        System.out.println("---------onCompleted----------");
    }

    @Override
    public void onError(Throwable e) {
        System.out.println("---------onError----------" + e.toString());
    }

    @Override
    public void onNext(T t) {
        System.out.println("---------onNext----------");
    }
}
